package ejb.facades.forum;

import entities.forum.Topic;
import java.util.List;
import javax.ejb.Local;

/**
 * Trabalho PD - 2014/2015
 * @author a21210380 a21210392
 */
@Local
public interface TopicFacadeLocal {

    void create(Topic topic);

    void edit(Topic topic);

    void remove(Topic topic);

    Topic find(Object id);

    List<Topic> findAll();

    List<Topic> findRange(int[] range);
    
    List<Topic> findRecent(int top);

    int count();

}
